<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>菜单</title>
<link href="${pageContext.request.contextPath}/css/left.css" rel="stylesheet" type="text/css"/>
<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/dtree.css" type="text/css" />
</head>
<body>
<table width="100%" border="0" >
	  <tr>
	    <td>
	    <div class="dtree">
		<a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/dtree.js"></script>
		<script type="text/javascript">
			<!--
			d = new dTree('d');
			d.add('01','-1','系统菜单');
				d.add('0101','01','用户管理','','','mainFrame');
					d.add('010101','0101','启用&禁用','${pageContext.request.contextPath}/admin/findAllUser?page=1','','mainFrame');
				d.add('0102','01','书库管理','','','mainFrame');
					d.add('010201','0102','查看','${pageContext.request.contextPath}/admin/findAllBook?page=1','','mainFrame');
					d.add('010202','0102','添加','${pageContext.request.contextPath}/admin/toAddBook','','mainFrame');
				d.add('0103','01','商品管理','','','mainFrame');
					d.add('010301','0103','商品管理','${pageContext.request.contextPath}/admin/findAllGoods?page=1','','mainFrame');
				d.add('0104','01','订单管理','','','mainFrame');
					d.add('010401','0104','未付款订单','${pageContext.request.contextPath}/admin/findAllOrder?page=1&oState=0','','mainFrame');
					d.add('010402','0104','未发货订单','${pageContext.request.contextPath}/admin/findAllOrder?page=1&oState=1','','mainFrame');
					d.add('010403','0104','未送达订单','${pageContext.request.contextPath}/admin/findAllOrder?page=1&oState=2','','mainFrame');
					d.add('010404','0104','已完成订单','${pageContext.request.contextPath}/admin/findAllOrder?page=1&oState=3','','mainFrame');
				d.add('0105','01','留言管理','','','mainFrame');
					d.add('010601','0105','查看&删除','${pageContext.request.contextPath}/admin/findAllComment?page=1','','mainFrame');
				d.add('0106','01','注销退出');
					d.add('010701','0106','退出登录','${pageContext.request.contextPath}/login/loginOutAdmin','','_parent');
				document.write(d);
			//-->
		</script>
	    </div>	
	    </td>
      </tr>
</table>
</body>
</html>
